/*******************************************************************************************
 *  Wait.h
 *
 *  Creating and managing Wait object structures.
 *
 *******************************************************************************************/







/*******************************************************************************************
 *  INCLUDES :
 *******************************************************************************************/
#include "BulletMLConsts.h"
#include "BulletMLTypes.h"







/*******************************************************************************************
 *  TYPE definitions :
 *******************************************************************************************/

/*****************************************************/
/* The WAIT object strucuture definition :      */
/*****************************************************/
#ifndef _WAIT_STRUCT_
#define _WAIT_STRUCT_
typedef struct {

	ObjType		otype;						/* The object's type, as in the ...    */
											/* ... BulletML type enum.             */

	char		*frames;					/* How many frames do we have to wait? */

} Wait;
#endif







/*******************************************************************************************
 *  Function PROTOTYPES :
 *******************************************************************************************/

/* CONSTRUCTOR and DESTRUCTOR : */
Wait	*newWait(void);			/* Creates an empty Wait object structure. */
void 	freeWait(Wait *w);		/* Destroys a Wait object structure.       */ 


/* FILLING the Action object structure : */
void	setWaitFrames(Wait *w, char *f);
